package com.coordinate.core.factory;

import com.coordinate.core.appstack.AppStack;
import com.coordinate.core.appstack.impl.CAppStack;

public class AppStackFactory {

	private AppStackFactory mInstance = null;
	private static String mAppStackClassName = null;
	private static AppStack mAppStack; //the implementation is loaded here
	
	private AppStackFactory()
	{
		
	}
	
	public static void setName(String pAppStackClassName)
	{
		mAppStackClassName = pAppStackClassName;
	}
	
	public static AppStack getStack()
	{
		if(mAppStack == null)
		{
			mAppStack = new CAppStack();
		}
		return mAppStack;
	}
	
	
}
